#ifndef TOURNAMENTSELECTIONSTRATEGY_H_
#define TOURNAMENTSELECTIONSTRATEGY_H_

#include "SelectionStrategy.h"

/**
  * @author Łukasz Szybka
  */
class TournamentSelectionStrategy : public SelectionStrategy
{
public:
    TournamentSelectionStrategy(int _tournamentSize = 0);
    Chromosome* selectOne(const QList<Chromosome*>& chromosomeList);

    void setSize(int _tournamentSize);

private:
    int tournamentSize;
};

#endif /*TOURNAMENTSELECTIONSTRATEGY_H_*/
